home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19980901-19981211
/
000296_news@newsmaster….columbia.edu _Thu Nov 12 09:30:57 1998.msg
< prev
next >
Wrap
Internet Message Format
|
1998-12-10
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA20466
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 12 Nov 1998 09:30:56 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA28966
for kermit.misc@watsun; Thu, 12 Nov 1998 09:30:54 -0500 (EST)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: 3270 terminal key emuation script needed
Date: 12 Nov 1998 14:30:47 GMT
Organization: Columbia University
Lines: 38
Message-ID: <72eren$kkj$1@apakabar.cc.columbia.edu>
References: <72dcpa$giu$1@news-2.news.gte.net>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:9502
In article <72dcpa$giu$1@news-2.news.gte.net>,
Li-Jen Chang <lchang@gte.net> wrote:
: I need a tn3270 key emulation. Does any one have a setting script for
: C-kermit?
:
>From the Kermit FAQ:
http://www.columbia.edu/kermit/faq.html
ftp://kermit.columbia.edu/kermit/faq.txt
8 Where Is the Key Map for 3270 Emulation?
Real 3270 terminals have all sorts of keys that regular ASCII terminals (and
PCs and Macintoshes and UNIX workstations, etc) do not have.
A big part of the job of a 3270 protocol converter is to convert between ASCII
keystrokes (including escape sequences) and 3270 keys such as PA1 through PA3
and PF1 through PF24.
The administrator of the 3270 protocol converter creates the mapping. So in
order to make a 3270 key map for Kermit, you first have to find out what the
mapping in the protocol converter is, and then assign the ASCII values
(characters or sequences) that correspond to each 3270 key to the desired PC
(or Mac, etc) key.
It is the responsibility of each site administrator to document the key
mappings used by its protocol converters. Once you know the ASCII values that
correspond to each 3270 key, then it's easy to create Kermit key bindings.
For example, suppose the 3270 "cursor left" function (left arrow) is mapped to
ASCII Ctrl-B (ASCII character 2). Then in MS-DOS Kermit you would:
SET KEY \4427 \2
where \4427 is the scan code of the PC's (gray) left arrow key, and \2 is the
code for the ASCII value of the Ctrl-B character.
- Frank